﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MainForm
{
    public partial class StartProblemTimeQ : UserControl
    {
        public StartProblemTimeQ()
        {
            InitializeComponent();
        }

        private void complainMainLocationRadionBtn_ItemCheck(object sender, ItemCheckEventArgs e)
        {
           /* problemStartTimeCheckList.ItemCheck -= complainMainLocationRadionBtn_ItemCheck;

            for (int ListIndex = 0; ListIndex < problemStartTimeCheckList.Items.Count; ListIndex++)
            {
                // Unchecked all items that is not currently selected
                if (problemStartTimeCheckList.SelectedIndex != ListIndex)
                {
                    // set item as unchecked
                    problemStartTimeCheckList.SetItemChecked(ListIndex, false);
                } // if
                else
                {
                    // set selected item as checked
                    problemStartTimeCheckList.SetItemChecked(ListIndex, true);
                }
            } // for

           problemStartTimeCheckList.ItemCheck += complainMainLocationRadionBtn_ItemCheck;*/
        }
    }
}
